import path from 'path'
const ROOT_DIR = process.argv[1].slice(-2) == 'ts' ? __dirname : process.cwd()

export default {
    // 项目根目录
    root_dir: path.join(ROOT_DIR),
    // 项目数据存储目录
    data_dir:  path.join(ROOT_DIR,'data'),
    // 项目数据多媒体资源存放目录
    attachment_dir: path.join(ROOT_DIR,'data','attachment'),
    // 域名
    domian: 'http://localhost:9287'
}